-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: [IOBP-514] Move authorization creation request upon payment method selection #5419
feat: [IOBP-514] Move authorization creation request upon payment method selection #5419
Conversation
…OBP-514-effettuare-chiamata-di-new-transaction-subito-dopo-che-il-metodo-viene-selezionato
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #5419 +/- ##
==========================================
- Coverage 47.45% 47.43% -0.03%
==========================================
Files 1603 1603
Lines 33618 33637 +19
Branches 8211 8219 +8
==========================================
+ Hits 15953 15955 +2
- Misses 17607 17624 +17
Partials 58 58
Continue to review full report in Codecov by Sentry.
|
5a9eee8
to
a067827
Compare
…ction-subito-dopo-che-il-metodo-viene-selezionato
…ction-subito-dopo-che-il-metodo-viene-selezionato
…ction-subito-dopo-che-il-metodo-viene-selezionato
…ction-subito-dopo-che-il-metodo-viene-selezionato
…ction-subito-dopo-che-il-metodo-viene-selezionato
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
…ction-subito-dopo-che-il-metodo-viene-selezionato
…ction-subito-dopo-che-il-metodo-viene-selezionato
…uest (#5423) Depends on #5419 ## Short description This PR add the handling of payment dismissal after payment authorization request ## List of changes proposed in this pull request - Added `onDismiss` in `useWalletPaymentAuthorizationModal` hook - Added outcome screen navigation on authorization dismissal ## How to test Start a new payment flow from **Profile > Playgrounds > New Wallet > Payment**, dismiss the authorization webview in the last step and check that the payment is correctly cancelled. ## Previews https://github.com/pagopa/io-app/assets/6160324/09a9ee38-3134-4053-8b4b-e5b6aa08b6ee --------- Co-authored-by: Alessandro Izzo <[email protected]> Co-authored-by: Alessandro Izzo <[email protected]>
Short description
This PR moves the transaction creation request from the payment summary screen (
WalletPaymentConfirmScreen
) to the payment method selection (WalletPaymentPickMethodScreen
), after the payment method selection.List of changes proposed in this pull request
walletPaymentCreateTransaction
action to accept anonSuccess
callbackwalletPaymentCreateTransaction
dispatch inWalletPaymentPickMethodScreen
, after Continue button pressHow to test
With the io-dev-api-server, start a new payment flow from the Profile > Playgrounds > New Wallet > Payment screen. With reactotron, check that the transaction creation request is dispatched before the PSP selection screen.